package com.cnxdc.demo.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@TableName("tb_article")
public class Article {
    @TableId(value="id",type= IdType.AUTO)
    private int id;
    @TableField("title")
    private String biaoti;
    @TableField("content")
    private String neirong;
    @TableField(exist = false)
    private String author;
    private LocalDateTime createTime;
    private LocalDateTime updateTime;
}
